import { RouteRecordRaw } from 'vue-router'

export default [
  // {
  //   path: '/',
  //   name: 'home',
  //   redirect: '/admin',
  //   component: () => import('@/views/home.vue'),
  // },
  {
    path: '/',
    name: 'admin',
    component: () => import('@/layouts/main.vue'),
    children: [
      {
        path: '',
        name: 'hello',
        component: () => import('@/views/main/home.vue'),
      },
    ],
  },
  {
    path: '/:any(.*)',
    name: 'notFound',
    component: () => import('@/views/notFound.vue'),
  },
] as RouteRecordRaw[]
